import config from "@/config";
import axios from "@/libs/request/axios";


//获取系统时间
export const getSysTime = () => {
    if(config.getProjectInfo().sysDate&&config.getProjectInfo().sysDate.type==='system'){
        return new Promise(resolve=>{
            resolve({
                code:'7777'
            })
        })
    }else {
        return axios.request({
            url: config.getProjectInfo().sysDate.requestUri,
            method: 'get'
        })
    }
};
